package com.huazhi.wzsnw.service;

import com.huazhi.wzsnw.model.MaintainRecord;
import com.alibaba.fastjson.JSONObject;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface MaintainRecordService {
    public MaintainRecord selectByPrimaryKey(String tid);
    public int insert(MaintainRecord record);
    List<String> getMaintainRecordList(String key, MaintainRecord maintainRecord);
    public int delete(MaintainRecord record);
    public int deletes(List<MaintainRecord> records);
    public int update(MaintainRecord record);
    public MaintainRecord findByTid(String tid);
    JSONObject getMaintainRecordListOne(HttpServletRequest request);
    List<String> getSearchMaintainRecordList(HttpServletRequest request);
    public List<MaintainRecord> getListMaintainRecordByListTid(List<String> stringList, Integer pageIndex, Integer pageSize);
    List<String> selectMaintainRecordList(String key, MaintainRecord maintainRecord);
}
